import React, { Component } from 'react'

import { withRouter } from 'react-router-dom'

import './index.css'

class Header extends Component {
    render() {
        return (
            <div className="headerBack">
                <span className="iconfont icon-fanhui" onClick={()=>this.props.history.goBack()}></span>
            </div>
        )
    }
}

export default withRouter(Header)